package com.link.base.base.user.model;

import com.link.core.basic.model.BasicModel;

/**
 * @author unknown
 * @date unknown
 * @comments 在线用户
 */
public class OnlineUser extends BasicModel {

    private static final long serialVersionUID = -4784312869660484071L;
    /**用户ID*/
    private Long empId;
    /**登录的IP地址*/
    private String ipAddress;
    /**开始登录的时间*/
    private String loginTime;
    /**退出登录的时间*/
    private String logoutTime;
    /**登录类型(例如：移动端、PC端)*/
    private String loginType;
    /**用户名*/
    private String username;
    /**密码*/
    private String password;
    /**姓名*/
    private String firstName;
    /**员工类型*/
    private String empType;
    /**用户角色*/
    private String role;
    /**会话ID*/
    private String sessionId;

    private String reKey;

    public Long getEmpId() {
        return empId;
    }

    public String getSessionId() {
        return sessionId;
    }

    public String getReKey() {
        return reKey;
    }

    public void setReKey(String reKey) {
        this.reKey = reKey;
    }

    public void setEmpId(Long empId) {
        this.empId = empId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }


    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(String loginTime) {
        this.loginTime = loginTime;
    }

    public String getLogoutTime() {
        return logoutTime;
    }

    public void setLogoutTime(String logoutTime) {
        this.logoutTime = logoutTime;
    }

    @Override
    public String getLoginType() {
        return loginType;
    }

    @Override
    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getEmpType() {
        return empType;
    }

    public void setEmpType(String empType) {
        this.empType = empType;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

}
